home *** CD-ROM | disk | FTP | other *** search
- Date: 20 Feb 1993 19:51:11 +0100 (MET)
- From: Bart Schuller <schuller@dutiea.twi.tudelft.nl>
- Subject: Toswin patch for cursor-bug
- To: mint@atari.archive.umich.edu
- Message-Id: <9302201851.AA03464@dutiea.twi.tudelft.nl>
- Mime-Version: 1.0
-
- Hello,
-
- For those of you who had problems with toswin in a colo(u)r mode with
- NVDI installed, I have a simple patch that works for me. It follows
- below.
-
- The bug would cause the cursor to leave a trail.
-
- Bart.
- -------------------------------------------------------------------------------
- Bart Schuller (NeXTmail OK) | What is a 're-mix?' "A total cheat"...
- schuller@dutiea.twi.tudelft.nl | ..."A gift"-- when it's Frankie... TCH
- -------------------------------------------------------------------------------
-
- *** old/textwin.c Wed Oct 28 02:24:32 1992
- --- src/textwin.c Sat Feb 20 01:50:08 1993
- ***************
- *** 132,140 ****
- x2 = t->win->wi_x + t->win->wi_w;
- }
-
- - set_wrmode(2); /* transparent text */
- if (fillcolor != 0 || (force != CLEARED)) {
- /* the background may not be set correctly, so we do it here */
- temp[0] = x;
- temp[1] = y;
- temp[2] = x2 - 1;
- --- 132,140 ----
- x2 = t->win->wi_x + t->win->wi_w;
- }
-
- if (fillcolor != 0 || (force != CLEARED)) {
- /* the background may not be set correctly, so we do it here */
- + set_wrmode(1); /* ++schuller: solid bar */
- temp[0] = x;
- temp[1] = y;
- temp[2] = x2 - 1;
- ***************
- *** 144,149 ****
- --- 144,150 ----
- v_bar(vdi_handle, temp);
- }
-
- + set_wrmode(2); /* transparent text */
- /* skip leading blanks -- we don't need to draw them again! */
- if (!(flag & CE_UNDERLINE)) {
- while (*buf == ' ') {
-
-